package tcln.sors.model.base.dom;

import tcln.sors.model.core.dom.AbstractHibernateEntity;

/**
 * Abstract entity for application SORS.
 * 
 * @author Truong Chau Lien Ngoc (lienngoc@gmail.com)
 */
public abstract class AbstractSorsEntity extends AbstractHibernateEntity<Integer> {
    private static final long serialVersionUID = 1L;

    /**
     * A special entity ID for transient entities.
     */
    public static final int TRANSIENT_ENTITY_ID = Integer.MIN_VALUE;

    /**
     * {@inheritDoc}
     */
    @Override
    public Integer getId() {
        return super.getId();
    }
}
